package com.hiyee.pojo.bo;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 客户商品列表参数
 *
 * @author WangBin
 */
public class CustomerGoodsListBO {
    private String sortBy; // 排序方式
    private String sortType; // 排序方式
    private Integer categoryId; // 分类id
    private String name; // 关键词
    @JsonProperty(defaultValue = "1")
    private Integer page; // 页数
    private Integer pageSize; // 每页显示记录数

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getSortBy() {
        return sortBy;
    }

    public void setSortBy(String sortBy) {
        this.sortBy = sortBy;
    }

    public String getSortType() {
        return sortType;
    }

    public void setSortType(String sortType) {
        this.sortType = sortType;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
